<script type="text/javascript" src="${gatewayPath}/mine/publish/js/script.js?v=2023-04-24T10:54:57Z"></script>
<style>
	
	/**
	.ddd{
	    display: flex !important;
    	flex-direction: column;
    }
	.row, .graph{
		display : flex;
		flex : auto;
	}*/
	.graph{
		/**padding: 20px;*/
		float : left
	}
	.g4 table{
		margin : 0 auto;
		border-collapse : collapse;
	}
	.g4 table tr:nth-child(2n-1) td{
		background : #f8fafd
	}
	.g4 th,.g4 td{
		min-width : 100px;
		padding : 5px 8px;
		height : 25px;
		line-height : 25px;
		border : 1px solid #dae0e9;
	}
	.g4 .title{
		text-align: center
	}
</style>
<script>
try{
	TempoUtils.locale("mine.test");
} catch(e) {
	console.warn("Load `mine` I18n dict.");
	$.ajax({
		url: '${gatewayPath}/mine/listI18nDict',
		method: 'post',
		data: {type: 'mine'},
		async: false,
		success: function(i18ns) {
			TempoUtils.locale("mine", i18ns);
		}
	});
}
</script>
<div id="serviceManager_container" style="">
	<ul>
		  <li><a href="#serviceAuthContainer"><@spring.message "mine.publish-app-service"/></a></li>
		  <li><a href="#serviceStatiscContainer"><@spring.message "mine.publish-app-service-statics"/></a></li>
    </ul>
	<div id="serviceAuthContainer" class="sm_tab ui-layout-pane">
		<div class="ui-layout-west">
			<div class='panel-content'>
				<div id="tempo-datasource-folder-left-search">
				</div>
				<div id="tempo-datasource-folder-left-project-div">
					<div id="tempo-datasource-folder-left-project"></div>
				</div>
			 </div>
		</div>
		<div class="ui-layout-center">
			<table id="mine-opt-service-grid"></table>
		</div>
	</div>
	<div id="serviceStatiscContainer" class="sm_tab ui-layout-pane">
		<div id="ssc">
			<ul>
			  <li><a href="#serviceLogContainer"><@spring.message "mine.rizhiliebiao"/></a></li>
			  <li><a href="#serviceLogStatisccContainer"><@spring.message "mine.tongjibaobiao"/></a></li>
		    </ul>
			<div id="serviceLogContainer" class="sm_tab ui-layout-pane">
				<div class="ui-layout-north">
					<form style="width: 700px;margin: 0 auto;" id="queryForm">
						<table class="formLayout">
							<tbody>
								<tr>
									<td class="formLayoutTit">
										<label for="serviceName"><@spring.message "mine.publish-mine-service-grid-col-serviceid"/></label>
									</td>
									<td>
										<input name="serviceName" ui-role="validatebox"></input>
									</td>
									<td class="formLayoutTit">
										<label for="client"><@spring.message "mine.diaoyongxitong"/></label>
									</td>
									<td>
										<input name="client" ui-role="validatebox">
						 				</input>
									</td>
									<td class="formLayoutTit">
										<label for="result"><@spring.message "mine.diaoyongjieguo"/></label>
									</td>
									<td>
										<select name="result" ui-role="selectmenu" >
											<option value=""><@spring.message "mine.quanbu"/></option>
											<option value="1"><@spring.message "mine.chenggong"/></option>
											<option value="0"><@spring.message "mine.shibai"/></option>
						 				</select>
									</td>
								</tr>
								<tr>
									<td class="formLayoutTit">
										<label for="starttime"><@spring.message "mine.diaoyongriqi"/></label>
									</td>
									<td>
										<input name="starttime" class="tempo-validatebox" readonly="true" onfocus="this.blur()" style="background-color: rgb(235, 235, 228)"></input>
									</td>
									<td class="formLayoutTit">
										<label for="endtime"><@spring.message "mine.zhi"/></label>
									</td>
									<td>
										<input name="endtime" class="tempo-validatebox" readonly="true" onfocus="this.blur()" style="background-color: rgb(235, 235, 228)">
						 				</input>
									</td>
									<td class="formLayoutTit">
									</td>
									<td>
										<a class="queryBtn" style="width : 70px;"><@spring.message "mine.chaxun"/></a>
										<a class="resetBtn"  style="width : 70px;"><@spring.message "mine.chongzhi"/></a>
									</td>
								</tr>
							</tbody>
						</table>
				    </form>
				</div>
				<div class="ui-layout-center">
					<div id="mine-opt-servicelog-container" style="height: 100%;"><table id="mine-opt-servicelog-grid"></table></div>
				</div>
			</div>
			<div id="serviceLogStatisccContainer" class="sm_tab ui-layout-pane">
				<div id="ddd">
					<div class="ui-layout-north">
						<form id="squeryForm">
							<table class="formLayout" style="width:1000px">
								<tbody>
									<tr>
										<td class="formLayoutTit">
											<label for="serviceName"><@spring.message "mine.publish-mine-service-grid-col-serviceid"/></label>
										</td>
										<td>
											<input name="serviceName" style="width:100px" ui-role="validatebox"></input>
										</td>
										<td class="formLayoutTit">
											<label for="client"><@spring.message "mine.diaoyongxitong"/></label>
										</td>
										<td>
											<input name="client" style="width:100px"  ui-role="validatebox">
							 				</input>
										</td>
										<td class="formLayoutTit">
											<label for="starttime"><@spring.message "mine.diaoyongriqi"/></label>
										</td>
										<td>
											<input name="starttime" style="width:100px"  class="tempo-validatebox" readonly="true" onfocus="this.blur()" style="background-color: rgb(235, 235, 228)"></input>
										</td>
										<td class="formLayoutTit">
											<label for="endtime"><@spring.message "mine.zhi"/></label>
										</td>
										<td>
											<input name="endtime" style="width:100px"  class="tempo-validatebox" readonly="true" onfocus="this.blur()" style="background-color: rgb(235, 235, 228)">
							 				</input>
										</td>
										<td>
											<a class="queryBtn" style="width : 70px;"><@spring.message "mine.chaxun"/></a>
											<a class="resetBtn"  style="width : 70px;"><@spring.message "mine.chongzhi"/></a>
										</td>
									</tr>
								</tbody>
							</table>
					    </form>
					</div>
					<div class="ui-layout-center ddd">
						<div class="row">
							<div class="graph status"></div>
							<div class="graph month"></div>
						</div>
						<div class="row">
							<div class="graph g3"></div>
							<div class="graph g4">
								<h2 class="title"><@spring.message "mine.diaoyongshibaigaoliebiao"/></h2>
								<table>
									<thead>
										<th><@spring.message "mine.meta_grid_label_serial_num"/></th>
										<th><@spring.message "mine.publish-mine-service-grid-col-serviceid"/></th>
										<th><@spring.message "mine.diaoyongcishu"/></th>
										<th><@spring.message "mine.shibailv"/></th>
									</thead>
									<tbody>
										
									</tbody>
								</table>
							</div>
						</div>
					</div>
				</div>
				
			</div>
		</div>
	</div>
</div>
<div id="tempo-mine-flow-service-dialog" style="display:none;"> 
    <div class="ui-layout-center">
	    <table id="authgrid" ></table>
    <div>
</div>


